<div class="manage-right">
	<div class="row">
    <form name="frmuserinfo" id="frmuserinfo" method="post" action="<?php echo base_url(array('user', 'doupdate')); ?>">
        <h2>User infomation</h2>
        <p class="message">
        	<?php
				$returnMessage = $this->session->flashdata('message');
				echo $returnMessage;
			?>
        </p>
        <p>
            <label for="username">Username :</label><br />
            <input class="text" type="text" id="username" disabled="disabled" value="<?php echo $userInfo->getUsername(); ?>" />
        </p>
        <p>
            <label for="email">Email :</label><br />
            <input class="text" type="text" id="email" name="email" value="<?php echo $userInfo->getEmail(); ?>" />
        </p>
        <p>
            <label for="password">Password :</label><br />
            <input class="text" type="password" id="password" name="password" />
        </p>
        <p id="newpassword">
            <label for="chknewpass"><input type="checkbox" name="chknewpass" id="chknewpass" value="1" />&nbsp;New password :</label><br />
            <input class="text" type="password" id="newpass" name="newpassword" disabled="disabled" />
        </p>
        <p id="newpassword-confirm" style="display: none">
            <label for="renewpassword">Confirm new password :</label><br />
            <input class="text" type="password" id="renewpassword" name="renewpassword" />
        </p>
        <p>
            <button class="button orange">Update</button>
        </p>
    </form>
    </div>
</div>